<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>内容页</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/base.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/jqzoom.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/details.css">
<script src="__PUBLIC__/js/jquery-1.7.2.min.js"></script>
<script src="__PUBLIC__/js/cart.js"></script>
<script src="__PUBLIC__/js/list.js"></script>

<script type="text/javascript" src="__PUBLIC__/js/jqzoom.js"></script>

<script src="__PUBLIC__/js/index.js"></script>

<script type="text/javascript">
	var detailUrl = "{|U:'Index/Details/ajaxGetSpec'}";
	var addCart = "{|U:'Index/Cart/add'}";
</script>


	
</head>
<body>




<include file="__PUBLIC__/header2" />

<!-- 面包屑导航开始 -->
<div class="detail_crumb">
  <div class="crumb">
	<a href="">所有分类<i class="ico">&#xf004d;</i></a>
	<foreach from='$crumb'  key='$k' value='$v'>
	<a href="{|U:'Index/List/index',array('cid'=>$v['cid'])}">{$v.cname}<i class="ico">&#xf004d;</i></a>
	
	</foreach>
	<span>{$detail.goods_name}</span>
	</div>
</div>
<!-- 面包屑导航结束 -->

<!-- 商品详情开始 -->
 <div class="detail_one	">
  <!-- 左侧大图显示 -->
 	<div class="l">
 <!-- 放大镜开始 -->
<div class="preview">
     <!-- 中图开始 -->
	<div id="vertical" class="bigImg">
		<img src="__ROOT__/{$big[0]}" alt="" id="midimg" height="360" width="360">
		<div style=" display:none;" id="winSelector"></div>
	</div>
	<!-- 中图结束 -->
	
	<div class="smallImg">
		<div class="scrollbutton smallImgUp disabled"><</div>
		<!-- 小图开始 -->
		<div id="imageMenu">
			<ul>
			<foreach from='$big' key='$k' value='$v'>
				<li>			
				<img src="__ROOT__/{$v}"  height="60" width="60"/>
				</li>			
			</foreach>
			
			</ul>
		</div>
		<!-- 小图结束 -->
		<div class="scrollbutton smallImgDown">></div>
	</div>
	 <!-- 大图开始 -->
	<div id="bigView" style="width: 470px; height: 420px; display: none;">
	<img style="display:block;" alt="" src="__ROOT__/{$big[0]}" height="800" width="800">
	</div>
	<!-- 大图结束 -->
</div>
	
<!-- 放大镜结束 -->
 	</div>
 	
 <!-- 左侧大图end -->

<!-- 中间部分开始 -->
<div class="main_content">


	<h1>{$detail.goods_name}</h1>
	<!-- 预售步骤 -->
	<div class="detailinfo">
	<div class="cur_price">
	<ul>
		<li class="tag">价格</li>
		<li class="number_intel">
			<span class="cur">
				<em>¥</em>
				{$detail.shop_price}
				
			</span> 
		</li>
		<li class="tag">参考价</li>
		   <li class="number_intel">
			<del class="market">
				<em>¥</em>
				{$detail.market_price}
				
			</del> 
			</li>
		
		</ul>
	</div>
	<div class="msg">
		<span>商品简介商品简介商品简介商品简介商品简介商品简介商品简介商品简介商品简介商品简介商品简介商品简介</span>
		
		</div>
	
	</div>
	<!-- <ul class="msgsale">
		<li>
			<span class="best_ratio">
				<a href="" class="pl"><span class="ico"></span>好评率 <strong>90%</strong></a>
				<a href="" class="pl">[评论<i>1039</i>条]</a>
			</span>
			
		</li>
	</ul> -->
	<!-- 区域选择 -->
	<!-- <div class="area_select">
		<dl>
			<dt>送货至</dt>
			<dd><img src="__PUBLIC__/images/area.png" alt=""></dd>
		</dl>
	</div> -->

<!-- 获得规格 -->
 <div class="spec">
 <foreach from="$attr" key="$k" value="$v">	
 	<ul>
	<span>{$v.attr_name}：</span>	
	 <foreach from="$v['spec']" key="$k2" value="$v2">	
		<li>
		<a href="javascript:;" specvalue="{$v2.attr_value}" gtid="{$v2.goods_att_id}" gid="{$v2.gid}">{$v2.attr_value}</a>
	<span class="on" style="display:none;" ></span>
		</li>
		</foreach>
		
					
	</ul>
	</foreach>
	
 </div>
 <!-- 弹出信息 -->
 <div id="cover"></div>
 <div id="infowindow"></div>
<!-- 加入购物车 -->
<div class="addCart">
	<div class="item">
		<div class="item_num"><input type="text" class="number" value="1" >
		</div>
		<div class="item_act">
			<input type="button" class="add">
			<!-- <input type="button" class="no_minus"> -->
	       <input type="button" class="minus">
		</div>
	</div>
	<div class="cartbtn">
		<!-- <a href="" class="btn3" style="display:none;"><span>该省份不销售</span></a>
		<a href="" class="btn2" style="display:none;"><span>立即购买</span></a> -->
		<a href="javascript:;" class="btn6" id="addCart" url="{|U:'Cart/add'}/goods_id/{$detail.goods_id}" ><span>加入购物车</span></a>
		<!-- <a href="" class="btn2" style="display:none;"><span>预订</span></a>
		<a href="" class="btn1" style="display:none;"><span>到货通知</span></a>
		<a href="" class="btn1" style="display:none;"><span>已售完</span></a> -->

	</div>
</div>
 
 <!-- 保障 -->

 	<dl class="security">
 		<dt>保障</dt>
 		<dd>
 			<div class="payment">
 				<a href="" class="paybtn">支付方式</a>
 				<!-- <ul>
 					<li>货到付款</li>
 					<li>网上支付</li>
 				</ul> -->

 			</div>

 			<div class="item_service">
 				<a href=""><i class="ico"></i>正品保障</a>
 				<a href=""><i class="ico"></i>售后无忧</a>
 				<a href=""><i class="ico"></i>增票服务</a>
 			</div>
 		</dd>
 	</dl>



	</div>
</div>
<!-- 中间部分结束 -->



 <!-- 右边开始 -->
 <div class="r">
 	<div class="title">买了还买<a href=""><!-- <span>&#xf004c;</span>换一批</a> --></div>
   <ul class="buyed"> 
   <list from='$buyed' name='$v'>
   	<li>
   		<a class="pic" href=""><img src="__ROOT__/{$v['goods_img']}" alt=""></a>
   		<span class="ico"></span>
   		<p class="b_title"><a href="">{$v['goods_name']} </a></p>
   		<p class="b_price"><a href="">¥{$v['shop_price']}</a></p>
   	</li>
   </list>
   </ul>



 </div>
 <!-- 右边结束 -->
 </div>
<!-- 商品详情结束 -->


<!-- 商品详情第二屏开始 -->
<div class="detail_two">
	<div class="l">
	<!-- 一周销量排行榜 开始-->
<div class="rank">
	<h2 class="title">一周排行榜</h2>
	<div class="rank_list">
		<ul>
		<foreach from='$top' key='$k' value='$v' >
			<li>
			
				<a href="{|U:'Index/Details/index',array(type_id=>$v['type_id'],'cid'=>$v['cid'],'goods_id'=>$v['goods_id'])}" class="small"><img src="__ROOT__/{$v['goods_img']}" alt="" width="70" height="70" />
              <sup class="num num{$k}"></sup>
				</a>
				<p class="price"><span class="red">¥{$v['shop_price']}</span>
				<p class="name">
					<a href="{|U:'Index/Details/index',array('cid'=>$v['cid'],'goods_id'=>$v['goods_id'])}">{$v['goods_name']}
					</a>
				</p>
			</li>
			</foreach>
		</ul>
	</div>
</div>
</div>
<!-- 一周销量排行榜 结束-->
	
	<div class="right">
		<ul class="tab">
			<li class="cur" ><a href="javascript:;" >商品介绍</a></li>
			<li><a href="javascript:;">规格及包装</a></li>
			<li><a href="javascript:;">售后服务</a></li>
			<li><a href="javascript:;">评价<span>601</span></a></li>
		</ul>
     <div class="desc pro" style="display:block;">{$detail.intro}</div>
     <div class="desc bz">规格及包装</div>
     <div class="desc ser">售后服务</div>
     <div class="desc com">评价</div>



	</div>
</div>
<!-- 商品详情第二屏结束 -->


<div class="clear"></div>
<include file="__PUBLIC__/footer" />
</body>
</html>